--- a/include/fuse.h
+++ b/include/fuse.h
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <sys/statvfs.h>
 #include <sys/uio.h>
+#include <sys/file.h>
 
 #ifdef __cplusplus
 extern "C" {
